I have been using RStudio for quite some time. It was functioning well with a limited no. of characters until I tried to paste a large no. of characters. Almost half of the values are not read by the concatenate function. I read some blogs that indicate problems with memory, but when I remove the later part then there would be absolutely no problem. And, the latter values are disabled even before I perform any task say run the chunk. What alternatives do I have to handle big data when I want to directly paste or load from .csv or .txt file for concatenation as used traditionally? Is there any solution? Thanks in advance.
The code is:
period <- c(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.65, 0.65, 0.52, 0.52, 0.65, 0.65, 0.62, 0.55, 0.55, 0.55, 0.8, 0.8, 0.7, 0.68, 0.68, 0.9, 0.9, 0.9, 0.9, 0.9, 0.45, 0.45, 0.62, 0.62, 0.62, 0.55, 0.55, 0.55, 0.55, 0.62, 0.62, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.4, 0.4, 0.4, 0.4, 0.38, 0.38, 0.38, 0.38, 0.42, 0.42, 0.42, 0.6, 0.6, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.62, 0.62, 0.62, 0.62, 0.62, 0.62, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.55, 0.38, 0.38, 0.38, 0.38, 0.4, 0.48, 0.45, 0.4, 0.5, 0.5, 0.45, 0.4, 0.4, 0.5, 0.4, 0.4, 0.5, 0.4, 0.5, 0.5, 0.4, 0.45, 0.45, 0.35, 0.45, 0.35, 0.45, 0.4, 0.35, 0.5, 0.5, 0.55, 0.4, 0.5, 0.45, 0.55, 0.4, 0.5, 0.45, 0.4, 0.48, 0.4, 0.48, 0.45, 0.35, 0.45, 0.4, 0.4, 0.45, 0.45, 0.42, 0.5, 0.48, 0.5, 0.5, 0.5, 0.45, 0.4, 0.45, 0.4, 0.45, 0.4, 0.4, 0.45, 0.4, 0.5, 0.55, 0.45, 0.8, 0.8, 0.55, 0.9, 0.55, 0.9, 0.9, 0.55, 0.9, 0.6, 0.75, 0.8, 0.9, 0.9, 0.8, 0.6, 0.9, 0.8, 0.9, 0.75, 0.5, 0.5, 0.5, 0.9, 0.7, 0.65, 0.9, 0.9, 0.6, 0.9, 0.5, 0.9, 0.55, 0.7, 0.65, 0.8, 0.8, 0.9, 0.85, 0.8, 0.65, 0.8, 0.9, 0.8, 0.65, 0.8, 0.65, 0.55, 0.9, 0.5, 0.9, 0.65, 0.65, 0.65, 0.65, 0.7, 0.55, 0.55, 0.55, 0.55, 0.75, 0.8, 0.8, 0.8, 0.8, 0.6, 0.6, 0.7, 0.75, 0.8, 0.5, 0.8, 0.6, 0.6, 0.65, 0.6, 0.6, 0.8, 0.65, 0.55, 0.5, 0.8, 0.65, 0.7, 0.5, 0.65, 0.75, 0.8, 0.8, 0.75, 0.75, 0.75, 0.8, 0.8, 0.75, 0.75, 0.75, 0.75, 0.75, 0.75, 0.75, 0.75, 0.75, 0.65, 0.8, 0.65, 0.7, 0.7, 0.65, 0.5, 0.5, 0.5, 0.68, 0.68, 0.85, 0.85, 0.85, 0.9, 0.8, 0.85, 0.8, 0.8, 0.9, 0.8, 0.7, 0.8, 0.65, 0.65, 0.85, 0.8, 0.8, 0.8, 0.85, 0.85, 0.85, 0.85, 0.85, 0.75, 0.75, 0.8, 0.75, 0.65, 0.75, 0.75, 0.6, 0.85, 0.75, 0.75, 0.85, 0.8, 0.9, 0.58, 0.85, 0.85, 0.85, 0.75, 0.8, 0.75, 0.85, 0.85, 0.6, 0.6, 0.6, 0.9, 0.85, 0.85, 0.85, 0.55, 0.85, 0.9, 0.85, 0.85, 0.75, 0.8, 0.8, 0.75, 0.8, 0.65, 0.75, 0.75, 0.9, 0.72, 0.7, 0.8, 0.75, 0.58, 0.75, 0.7, 0.58, 0.75, 0.75, 0.85, 0.9, 0.8, 0.8, 0.8, 0.8, 0.78, 0.45, 0.55, 0.65, 0.85, 0.75, 0.6, 0.6, 0.65, 0.9, 0.6, 0.65, 0.65, 0.85, 0.65, 0.65, 0.72, 0.65, 0.72, 0.9, 0.75, 0.9, 0.75, 0.85, 0.65, 0.6, 0.85, 0.6, 0.65, 0.65, 0.45, 0.6, 0.5, 0.7, 0.9, 0.45, 0.6, 0.7, 0.65, 0.75, 0.55, 0.65, 0.65, 0.72, 0.65, 0.85, 0.85, 0.35, 0.28, 0.35, 0.42, 0.38, 0.32, 0.38, 0.35, 0.35, 0.32, 0.32, 0.35, 0.35, 0.32, 0.35, 0.42, 0.55, 0.42, 0.35, 0.32, 0.35, 0.38, 0.3, 0.32, 0.38, 0.35, 0.38, 0.38, 0.35, 0.35, 0.42, 0.38, 0.38, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.5, 0.5, 0.35, 0.38, 0.38, 0.35, 0.55, 0.38, 0.32, 0.32, 0.38, 0.35, 0.35, 0.38, 0.38, 0.42, 0.35, 0.35, 0.32, 0.35, 0.35, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.35, 0.35, 0.35, 0.35, 0.35, 0.32, 0.35, 0.32, 0.38, 0.38, 0.38, 0.38, 0.5, 0.3, 0.28, 0.55, 0.58, 0.38, 0.35, 0.38, 0.32, 0.52, 0.32, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.38, 0.32, 0.35, 0.32, 0.32, 0.38, 0.35, 0.28, 0.35, 0.28, 0.32, 0.32, 0.28, 0.32, 0.42, 0.28, 0.38, 0.32, 0.38, 0.35, 0.4, 0.35, 0.38, 0.32, 0.32, 0.42, 0.32, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.42, 0.48, 0.5, 0.48, 0.32, 0.35, 0.38, 0.45, 0.45, 0.32, 0.38, 0.42, 0.42, 0.42, 0.38, 0.45, 0.38, 0.45, 0.45, 0.45, 0.45, 0.35, 0.38, 0.35, 0.35, 0.42, 0.35, 0.35, 0.35, 0.35, 0.38, 0.35, 0.35, 0.35, 0.38, 0.3, 0.38, 0.32, 0.35, 0.32, 0.35, 0.48, 0.32, 0.45, 0.38, 0.32, 0.28, 0.32, 0.35, 0.32, 0.35, 0.35, 0.32, 0.35, 0.32, 0.32, 0.32, 0.38, 0.35, 0.32, 0.45, 0.35, 0.4, 0.42, 0.35, 0.35, 0.42, 0.32, 0.32, 0.55, 0.32, 0.38, 0.38, 0.38, 0.35, 0.35, 0.38, 0.35, 0.35, 0.35, 0.28, 0.32, 0.35, 0.32, 0.35, 0.35, 0.32, 0.35, 0.32, 0.32, 0.32, 0.38, 0.35, 0.32, 0.45, 0.32, 0.35, 0.4, 0.42, 0.35, 0.42, 0.32, 0.32, 0.32, 0.38, 0.38, 0.38, 0.38, 0.35, 0.65, 0.6, 0.6, 0.6, 0.65, 0.6, 0.65, 0.6, 0.65, 0.8, 0.7, 0.6, 0.65, 0.65, 0.7, 0.65, 0.8, 0.6, 0.65, 0.9, 0.9, 0.65, 0.6, 0.7, 0.6, 0.6, 0.6, 0.6, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.65, 0.65, 0.65, 0.65, 0.9, 0.6, 0.8, 0.65, 0.65, 0.65, 0.3, 0.6, 0.8, 0.65, 0.9, 0.9, 0.6, 0.65, 0.4, 0.55, 0.3, 0.65, 0.6, 0.4, 0.4, 0.65, 0.65, 0.45, 0.25, 0.25, 0.25, 0.4, 0.65, 0.3, 0.3, 0.45, 0.45, 0.6, 0.45, 0.25, 0.45, 0.45, 0.65, 0.3, 0.65, 0.4, 0.45, 0.35, 0.28, 0.4, 0.38, 0.25, 0.28, 0.38, 0.2, 0.55, 0.55, 0.55, 0.45, 0.55, 0.6, 0.5, 0.55, 0.5, 0.45, 0.45, 0.5, 0.55, 0.45, 0.35, 0.58, 0.32, 0.58, 0.3, 0.38, 0.5, 0.6, 0.6, 0.65, 0.65, 0.65, 0.65, 0.7, 0.6, 0.45, 0.6, 0.6, 0.8, 0.1, 0.125, 0.125, 0.15, 0.1, 0.125, 0.55, 0.6, 0.55, 0.5, 0.5, 0.5, 0.5)
If you are pasting the into the code pane or the console, it works for me if I break it into four lines, like this
period <- c(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.65, 0.65, 0.52, 0.52, 0.65, 0.65, 0.62, 0.55, 0.55, 0.55, 0.8, 0.8, 0.7, 0.68, 0.68, 0.9, 0.9, 0.9, 0.9, 0.9, 0.45, 0.45, 0.62, 0.62, 0.62, 0.55, 0.55, 0.55, 0.55, 0.62, 0.62, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.4, 0.4, 0.4, 0.4, 0.38, 0.38, 0.38, 0.38, 0.42, 0.42, 0.42, 0.6, 0.6, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.58, 0.62, 0.62, 0.62, 0.62, 0.62, 0.62, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.55, 0.38, 0.38, 0.38, 0.38, 0.4, 0.48, 0.45, 0.4, 0.5, 0.5, 0.45, 0.4, 0.4, 0.5, 0.4, 0.4, 0.5, 0.4, 0.5, 0.5, 0.4, 0.45, 0.45, 0.35, 0.45, 0.35, 0.45, 0.4, 0.35, 0.5, 0.5, 0.55, 0.4, 0.5, 0.45, 0.55, 0.4, 0.5, 0.45, 0.4, 0.48, 0.4, 0.48, 0.45, 0.35, 0.45, 0.4, 0.4, 0.45, 0.45, 0.42, 0.5, 0.48, 0.5, 0.5, 0.5, 0.45, 0.4, 0.45, 0.4, 0.45, 0.4, 0.4, 0.45, 0.4, 0.5, 0.55, 0.45, 0.8, 0.8, 0.55, 0.9, 0.55, 0.9, 0.9, 0.55, 0.9, 0.6, 0.75, 0.8, 0.9, 0.9, 0.8, 0.6, 0.9, 0.8, 0.9, 0.75, 0.5, 0.5, 0.5, 0.9, 0.7, 0.65, 0.9, 0.9, 0.6, 0.9, 0.5, 0.9, 0.55, 0.7, 0.65, 0.8, 0.8, 0.9, 0.85, 0.8, 0.65, 0.8, 0.9, 0.8, 0.65, 0.8, 0.65, 0.55, 0.9, 0.5, 0.9, 0.65, 0.65, 0.65, 0.65, 0.7, 0.55, 0.55, 0.55, 0.55, 0.75, 0.8, 0.8, 0.8, 0.8, 0.6, 0.6, 0.7, 0.75, 0.8, 0.5, 0.8, 0.6, 0.6, 0.65, 0.6, 0.6, 0.8, 0.65, 0.55, 0.5, 0.8, 0.65, 0.7, 0.5, 0.65, 0.75, 0.8, 0.8, 0.75, 0.75, 0.75, 0.8, 0.8, 0.75, 0.75, 0.75, 0.75, 0.75, 0.75, 0.75, 0.75, 0.75, 0.65, 0.8, 0.65, 0.7, 0.7, 0.65, 0.5, 0.5, 0.5, 0.68, 0.68, 0.85, 0.85, 0.85,
0.9, 0.8, 0.85, 0.8, 0.8, 0.9, 0.8, 0.7, 0.8, 0.65, 0.65, 0.85, 0.8, 0.8, 0.8, 0.85, 0.85, 0.85, 0.85, 0.85, 0.75, 0.75, 0.8, 0.75, 0.65, 0.75, 0.75, 0.6, 0.85, 0.75, 0.75, 0.85, 0.8, 0.9, 0.58, 0.85, 0.85, 0.85, 0.75, 0.8, 0.75, 0.85, 0.85, 0.6, 0.6, 0.6, 0.9, 0.85, 0.85, 0.85, 0.55, 0.85, 0.9, 0.85, 0.85, 0.75, 0.8, 0.8, 0.75, 0.8, 0.65, 0.75, 0.75, 0.9, 0.72, 0.7, 0.8, 0.75, 0.58, 0.75, 0.7, 0.58, 0.75, 0.75, 0.85, 0.9, 0.8, 0.8, 0.8, 0.8, 0.78, 0.45, 0.55, 0.65, 0.85, 0.75, 0.6, 0.6, 0.65, 0.9, 0.6, 0.65, 0.65, 0.85, 0.65, 0.65, 0.72, 0.65, 0.72, 0.9, 0.75, 0.9, 0.75, 0.85, 0.65, 0.6, 0.85, 0.6, 0.65, 0.65, 0.45, 0.6, 0.5, 0.7, 0.9, 0.45, 0.6, 0.7, 0.65, 0.75, 0.55, 0.65, 0.65, 0.72, 0.65, 0.85, 0.85, 0.35, 0.28, 0.35, 0.42, 0.38, 0.32, 0.38, 0.35, 0.35, 0.32, 0.32, 0.35, 0.35, 0.32, 0.35, 0.42, 0.55, 0.42, 0.35, 0.32, 0.35, 0.38, 0.3, 0.32, 0.38, 0.35, 0.38, 0.38, 0.35, 0.35, 0.42, 0.38, 0.38, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.5, 0.5, 0.35, 0.38, 0.38, 0.35, 0.55, 0.38, 0.32, 0.32, 0.38, 0.35, 0.35, 0.38, 0.38, 0.42, 0.35, 0.35, 0.32, 0.35, 0.35, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.35, 0.35, 0.35, 0.35, 0.35, 0.32, 0.35, 0.32, 0.38, 0.38, 0.38, 0.38, 0.5, 0.3, 0.28, 0.55, 0.58, 0.38, 0.35, 0.38, 0.32, 0.52, 0.32, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.38, 0.32, 0.35, 0.32, 0.32, 0.38, 0.35, 0.28, 0.35, 0.28, 0.32, 0.32, 0.28, 0.32, 0.42, 0.28, 0.38, 0.32, 0.38, 0.35, 0.4, 0.35, 0.38, 0.32, 0.32, 0.42,
0.32, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.42, 0.48, 0.5, 0.48, 0.32, 0.35, 0.38, 0.45, 0.45, 0.32, 0.38, 0.42, 0.42, 0.42, 0.38, 0.45, 0.38, 0.45, 0.45, 0.45, 0.45, 0.35, 0.38, 0.35, 0.35, 0.42, 0.35, 0.35, 0.35, 0.35, 0.38, 0.35, 0.35, 0.35, 0.38, 0.3, 0.38, 0.32, 0.35, 0.32, 0.35, 0.48, 0.32, 0.45, 0.38, 0.32, 0.28, 0.32, 0.35, 0.32, 0.35, 0.35, 0.32, 0.35, 0.32, 0.32, 0.32, 0.38, 0.35, 0.32, 0.45, 0.35, 0.4, 0.42, 0.35, 0.35, 0.42, 0.32, 0.32, 0.55, 0.32, 0.38, 0.38, 0.38, 0.35, 0.35, 0.38, 0.35, 0.35, 0.35, 0.28, 0.32, 0.35, 0.32, 0.35, 0.35, 0.32, 0.35, 0.32, 0.32, 0.32, 0.38, 0.35, 0.32,
0.45, 0.32, 0.35, 0.4, 0.42, 0.35, 0.42, 0.32, 0.32, 0.32, 0.38, 0.38, 0.38, 0.38, 0.35, 0.65, 0.6, 0.6, 0.6, 0.65, 0.6, 0.65, 0.6, 0.65, 0.8, 0.7, 0.6, 0.65, 0.65, 0.7, 0.65, 0.8, 0.6, 0.65, 0.9, 0.9, 0.65, 0.6, 0.7, 0.6, 0.6, 0.6, 0.6, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.65, 0.65, 0.65, 0.65, 0.9, 0.6, 0.8, 0.65, 0.65, 0.65, 0.3, 0.6, 0.8, 0.65, 0.9, 0.9, 0.6, 0.65, 0.4, 0.55, 0.3, 0.65, 0.6, 0.4, 0.4, 0.65, 0.65, 0.45, 0.25, 0.25, 0.25, 0.4, 0.65, 0.3, 0.3, 0.45, 0.45, 0.6, 0.45, 0.25, 0.45, 0.45, 0.65, 0.3, 0.65, 0.4, 0.45, 0.35, 0.28, 0.4, 0.38, 0.25, 0.28, 0.38, 0.2, 0.55, 0.55, 0.55, 0.45, 0.55, 0.6, 0.5, 0.55, 0.5, 0.45, 0.45, 0.5, 0.55, 0.45, 0.35, 0.58, 0.32, 0.58, 0.3, 0.38, 0.5, 0.6, 0.6, 0.65, 0.65, 0.65, 0.65, 0.7, 0.6, 0.45, 0.6, 0.6, 0.8, 0.1, 0.125, 0.125, 0.15, 0.1, 0.125, 0.55, 0.6, 0.55, 0.5, 0.5, 0.5, 0.5)
The limitation seems to be in the GUI and not in the c() function. What stops you from reading the data in from the text source rather than pasting?
1 Like
Thank you so much. It worked in my console as well after breaking.
Thanks for your prompt response. Much appreciated.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.