Displaying 20 results from an estimated 20000 matches similar to: "64 bit Linux/Ubuntu memory limit problem?"
2008 Aug 04
3
backslash in character string?
Dear list,
After searching many old posts, I can't find the solution to a simple problem.
can someone tell me how to create a character string with multiple backslashes, as in:
file_dir <- c("C:\files\data\")
I need to create this string and then paste it to many files names for batch processing in another software program. R won't accept the backslash and removes
2009 Jan 19
3
download/retain text file structure with RCurl/getURL()
Dear list,
I'm trying to download a text file directly from the internet using the RCurl package and the command getURL. Duncan Lang graciously helped me solve the first step in this problem using the following command:
#################
txtfile <- getURL('ftp://ftp.wcc.nrcs.usda.gov/data/snow/snow_course/table/history/idaho/13e19.txt',
ftp.use.epsv = FALSE)
#################
2008 Feb 29
2
while loop syntax help
Dear list,
I'm trying to write my first looping function in R. After many hours of searching help files and previous posts, I'm at wits end. Please forgive my programming ignorance...any help is greatly appreciated.
I need to sort through a vector (x) and identify the point at which 2 successive values become smaller than the previous value.
I've written a "while"
2009 Apr 14
2
subset dataframe by rows using character vector?
Dear List,
I'm stuck on what seems like a simple indexing problem, I'd be very grateful to anyone willing to help me out.
I queried a dataframe which returns a character vector called "plot". I have another dataframe from which I want to subset or select only those rows that match "plot". I've tried subset, and also the "which" command.
plot
2008 Oct 01
1
regexpr syntax question
Greetings R list,
I am stuck on a simple syntax problem. I want to list all files in a directory, excluding files of a certain type. I have tried pattern matching as follows:
a <- list.files(data, full.name = TRUE, pattern != ".xml") # exclude all .xml files
The warning returns that my syntax is incorrect. I have read the regexpr help files and search old posts to no
2008 Dec 17
4
Plot multiple lines, same plot, different axes?
Dear list,
I would like to plot 2 series of numbers with very different ranges/scales as lines on the same plot. I assumed this is commonly done and easy, but I have not found any help files (e.g. axis() or matplot() that show how. I've searched many old posts to no avail.
I'll be very grateful for any suggestions on how this is done.
Best,
Zack
2009 Jan 12
2
problems with download.file() from ftp?
Dear list,
I am trying to download a text file from an ftp site using download.file().
I used the following code:
url <- "ftp://ftp.wcc.nrcs.usda.gov/data/snow/snow_course/table/history/idaho/13e19.txt"
dest <- "c:/test/downloadtest.txt"
download.file(url, dest)
I get this error message, indicating that R is unable to open the connection:
trying URL
2010 May 24
1
retrieve path analysis coefficients (package agricolae)
Dear list,
I'd like to use path.analysis in the package agricolae in batch format on
many files, retrieving the path coefficients for each run and appending them
to a table. I don't see any posts in the help files about this package or
the path.analysis package. I've tried creating an object out of the call to
path.analysis, but no matter what I try, the function automatically prints
2008 Mar 31
1
APPLY as alternate to FOR loop?
Dear list,
Below I've written a clunky for loop that counts NA's in a row, replacing all with NA if there are
more than 3 missing values, or keeping the values if 4 or more are present. This is sample code from a very large
dataframe I'm trying to clean up.
I know there are many simpler more elegant solutions to this little problem.
Would someone be willing to show me how to
2008 Aug 06
2
Index alternative to nasty FOR loop?
Dear R wizards,
I have a folder containing 1000 files. For each file, I need to extract the first row of each file, paste it to a new file, then write out that file. Then I need to repeat this operation for each additional row (row 2, then row 3, etc) for 23 rows in each file.
I can do this with a for loop (as below).
Is there a way to use some of the indexing power of R to get around this
2017 Aug 15
1
Shiny install failed
Yes windows
How can i install from zip?
Here is my command
> install.packages("shiny")
Installing package into ?C:/Users/Zack/Documents/R/win-library/3.4?
(as ?lib? is unspecified)
There is a binary version available but the
source version is later:
binary source needs_compilation
shiny 1.0.3 1.0.4 FALSE
installing the source package ?shiny?
trying URL
2007 Mar 06
4
Memory Limits in Ubuntu Linux
I am an R user trying to get around the 2Gig memory limit in Windows, so
here I am days later with a working Ubuntu, and R under Ubuntu. But - the
memory problems seem worse than ever. R code that worked under
windows fails, unable to allocate memory.
Searching around the web, it appears that the problem may be the ability to
find contguous memory for my big vectors, but a fresh boot of
2017 Aug 15
0
Shiny install failed
Dear Zack
At a guess you are on Windows and instead of installing from the zip
file you are trying to install from source. If you do not grasp the
difference try posting again showing us exactly what command you used
and confirm your operating system Please also post in plain text not
HTML as your message may get scrambled in transit.
On 15/08/2017 14:11, Zack Haney wrote:
> Very New to R
2024 Sep 09
1
[PATCH v4 71/80] drm/vmwgfx: Run DRM default client setup
On Mon, Sep 9, 2024 at 7:37?AM Thomas Zimmermann <tzimmermann at suse.de> wrote:
>
> Call drm_client_setup() to run the kernel's default client setup
> for DRM. Set fbdev_probe in struct drm_driver, so that the client
> setup can start the common fbdev client.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> Cc: Zack Rusin <zack.rusin at
2010 Aug 23
1
Cannot migrate database, strange error!
Im using restful authentication, and i changed the username model from
login to username. The error is Mysql::Error: Key column ''login'' doesn''t
exist in table: CREATE UNIQUE INDEX `index_users_on_login` Heres the
trace:
DEPRECATION WARNING: Rake tasks in
vendor/plugins/restful-authentication/tasks are deprecated. Use
lib/tasks instead. (called from
2015 Jun 10
2
[LLVMdev] The use iterator not working...
It appears dereferencing the use iterator returned the "user" in older LLVM
versions. See the following commit to Use.h. You can see that the intention
is to return the "user". So this is not the behavior anymore.
https://github.com/llvm-mirror/llvm/commit/d1fe495464e4abc384565813cbf1cb8b130e5a6d
- // Retrieve a pointer to the current User.- UserTy *operator*() const {-
2017 Aug 15
2
Shiny install failed
Very New to R trying to get setup but when i try to install shiny i get
trying URL 'http://cran.rstudio.com/src/contrib/shiny_1.0.4.tar.gz'
Content type 'application/x-gzip' length 2329723 bytes (2.2 MB)
downloaded 2.2 MB
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.1/bin/x64/R" CMD INSTALL -l
2017 Aug 18
1
R Issues with packages
Thanks Jeff
I got the Bioconductor packages installed and tried googling the 65535
tried some things and still get the same error.
On Fri, Aug 18, 2017 at 10:59 AM, Jeff Newmiller
<jdnewmil at dcn.davis.ca.us> wrote:
> You just need to READ the error messages and use Google.
>
> Don't try to install tcltk.
>
> The other two packages are not available through CRAN...
2017 Aug 18
0
R Issues with packages
You just need to READ the error messages and use Google.
Don't try to install tcltk.
The other two packages are not available through CRAN... they are Bioconductor packages. (Not supported here... use Google.)
And learn to post plain text in the future to avoid scrambling what you thought you sent before we see it. Read the Posting Guide.
--
Sent from my phone. Please excuse my brevity.
2007 Oct 17
2
Need help with function that includes 2 summation
I am relatively new to R, so this may be a much simpler question than it
seems to me. I am trying to create a function that includes two
summations, and can't figure out how. I am attaching the equation as a
pdf file. This function will then be optimized over a chosen range of
values, but right now I just need help with the function. Thank you.
Zack Darnell
Duke University
--
Zack