similar to: execute an external program in R

Displaying 20 results from an estimated 3000 matches similar to: "execute an external program in R"

2013 Feb 15
2
sprintf in system command
hi all I am using r (2.15.2) in windows 7 32bit I want to execute an external program from r console. the program is a command line program which needs the following format to start C:/Users/.../dssp-2.0.4-win32.exe -i data_1.txt -o data_1.dssp I used the system command as: system ('C:/Users/.../dssp-2.0.4-win32.exe -i
2014 Oct 16
2
RCharts+Leaflet+Shiny
Daniel, muchas gracias por contestar y tan rápido. Pues puede ser la solución, he hecho el cambio y sigue sin pintarme los puntos -> data_ <- toJSONArray(data_, json = F) map$geoJson( # leafletR::toGeoJSON(data_, # # lat.lon = c('Lat', 'Long'), # dest=output_geofile), data_, onEachFeature =
2011 Jun 22
1
Appending to list
So im here now b/c im incredibly frustrated. Please consider the following: #Try 1 Data_<-list() Sn<-1:12 for(sn in Sn){ for(i in 1:10){ Data.X <- rnorm(100,0,10) Data_[[paste(sn,i,sep="-")]]<-Data.X } } ##Try 2 Data_<-list() Sn<-1:12 for(sn in Sn){ for(i in 1:10){ Data.X <- rnorm(100,0,10) Data_[[sn]][[i]]<-Data.X } } In Try 1 i am able to append
2014 Oct 15
2
RCharts+Leaflet+Shiny
Hola, Ando un poco desesperado con los mapas interactivos de Rcharts <https://github.com/ramnathv/rCharts>+Leaflet. Estoy intentando pintar en un mapa las cámaras de tráfico de madrid, y las estaciones de calidad del aire, simplemente donde están, es decir, aun no estoy recogiendo los datos de medida. Proyecto -> https://github.com/ADIRSE/maddata He conseguido pintar ambos, con
2011 Oct 28
1
"file name too long" error during R CMD INSTALL
Hi all, I am attempting to install a package called phylobase from source directory. It all seems to work until the end, at which point it looks like the last compile command fails because the line is too long...perhaps because the g++ command line also includes "Loading ~/.Rprofile...", like this: ============================ g++ -arch i386 -dynamiclib
2008 Apr 02
2
including a variable in another variable name
Dear R community, I wish to include a variable (e.g. slice of "a" below) in another variable's name. My objective would be to get a variable-name "data_A" and so on. How can I do this? > a<-LETTERS[1:25] > a [1] "A" "B" "C" "D" "E" "F" "G" "H" "I" "J"
2011 Jun 14
1
problems with plots in loop (corrected Email)
Dear helpers, In an attempt to use a loop to generate graphs in a for loop in run into a problem. The plan is to fill each page with eight graphs (mfrow = c(4,2)) in to two columns. Only the buttom graphs ( meaning every fourth graph) have tick labels on the x axis to preserve space. I used an if .... Else statement to achieve that. The problem is that the first eight graphs are skipped
2016 Mar 26
2
DW_TAG_member extends beyond the bounds error on Linux
Hi, While dogfooding our lldb based IDE on Linux, I am seeing a lot of variable evaluation errors related to DW_TAG_member which prevents us from release the IDE. Can anyone help to confirm if they are known issues? If not, any information you need to troubleshoot this issue? Here is one example: (lldb) fr v *error: biggrep_master_server_async 0x10b9a91a: DW_TAG_member '_M_pod_data'
2016 Mar 27
1
DW_TAG_member extends beyond the bounds error on Linux
Thanks David. I meant to send to lldb maillist, but glad to hear response here. Our binary is built from gcc: String dump of section '.comment': [ 1] GCC: (GNU) 4.9.x-google 20150123 (prerelease) Is there any similar flags we should use? By doing "strings -a [binary] | grep -i gcc", I found the following flags being used: GNU C++ 4.9.x-google 20150123 (prerelease)
2009 Nov 12
2
Question about simulation design...
Help R list servers, I have 500 external data sets for a simulation study that I would like to bring into R to analyze. They have the names data1.dat, data2.dat, ..., dataN.dat Is there a way to automatize the bringing in of these data sets in R using the read.table function within a looping cycle? For example... for (j in 1:N){ data_"j" = read.table("data"j".dat,
2016 Mar 27
0
DW_TAG_member extends beyond the bounds error on Linux
If you're going to use clang built binaries with lldb, you'll want to pass -fstandalone-debug - this is the default on platforms where lldb is the primary debugger (Darwin and freebsd) Not sure if that is the problem you are seeing, but will be a problem sooner or later On Mar 26, 2016 4:16 PM, "Jeffrey Tan via llvm-dev" <llvm-dev at lists.llvm.org> wrote: > Hi, >
2006 May 24
2
data.frame
Dear all, Does any one knows why should I get the following error message, when trying to do a simple data.frame?? DataF<-data.frame(Subject,BiomR,Spp,Capas,Litter,Herbs,LitterD,MaxCanH,DDifS p,DSSp,Slope, CanDens,NearestSp) Erro em data.frame(Subject, BiomR, Spp, Capas, Litter, Herbs, LitterD, : arguments imply differing number of rows: 202, 0 The data I am using
2010 Nov 06
4
Using changing names in loop in R
Hello everybody, I have usually solved this problem by repeating lines of codes instead of a loop, but it's such a waste of time, I thought I should really learn how to do it with loops: What I want to do: Say, I have several data files that differ only in a number, e.g. data points (or vector, or matrix...) Data_1, Data_2, Data_3,... and I want to manipulate them e.g. a simple sum of
2010 Jul 20
1
Servreg $loglik
Dear R-experts: I am using survreg() to estimate the parameters of a Weibull density having right-censored observations. Some observations are weighted. To do that I regress the weighed observations against a column of ones. When I enter the data as 37 weighted observations, the parameter estimates are exactly the same as when I enter the data as the corresponding 70 unweighted observations.
2006 Jul 24
5
change the name of file
Dear R Users, Is it possible to make file names dependent on a changing variable? For instance. I generate random numbers in a loop and at each iteration I want data to write to file (I do not want to write everything in one file using 'append'): for (i in 1:50){ x<-matrix(runif(100, min=0,max=1),nrow=5,ncol=20) Write(t(x),file="Data_i.txt",ncolumns=5,sep="\t") }
2003 Mar 26
2
predict (PR#2685)
There is a bug in `predict' whereby the order of variables sometimes gets re-arranged compared to the original fit, and then disaster results. Specifically, the 'variables' and 'predvars' attributes of a 'terms' object get out of synch. This only happens when the terms in the original formula get re-ordered during fitting: test> scrunge.data_ data.frame(
2011 Oct 25
0
Installing rgeos on Mac OS X 10.4 (was Re: "package 'stringr' does not have a name space"
I figured it out, at least enough to get rgeos's gSimplify function to work, which was my original goal; the stringr problem was with 0.2, however I got stringr 0.5 to install by changing the minimum version in DESCRIPTION from R2.11 to R 2.10. ... Thanks for the help! ############# # This is how I got rgeos to install in R GUI on my Intel Mac OS X 10.4: ############# # stringr
2016 Mar 27
0
DW_TAG_member extends beyond the bounds error on Linux
On Sat, Mar 26, 2016 at 11:31 PM, Jeffrey Tan <jeffrey.fudan at gmail.com> wrote: > Thanks David. I meant to send to lldb maillist, but glad to hear response > here. > > Our binary is built from gcc: > String dump of section '.comment': > [ 1] GCC: (GNU) 4.9.x-google 20150123 (prerelease) > > Is there any similar flags we should use? > If it's
2007 Dec 13
0
2 commits - libswfdec/swfdec_flash_security.c libswfdec/swfdec_flash_security.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c libswfdec/swfdec_resource_request.c libswfdec/swfdec_resource_request.h libswfdec/swfdec_security.h
libswfdec/swfdec_flash_security.c | 49 +++++++++++++++++++++++------------- libswfdec/swfdec_flash_security.h | 7 ++--- libswfdec/swfdec_net_stream.c | 2 - libswfdec/swfdec_player.c | 2 + libswfdec/swfdec_resource_request.c | 28 +++++++++++++++++--- libswfdec/swfdec_resource_request.h | 2 + libswfdec/swfdec_security.h | 2 - 7 files changed, 66
2007 Dec 09
3
Oriented object programming
Hi all Two questions: - I would like to learn more on oriented object programming with R. Is there any tutorial for that? - Without waking up a troll, I am not very familiar with diffusion list, I am more use to forum. On a diffusion list, how can I check if someone already asks a question? I mean, I went on CRAN-R website, I find the R mailing list archive. But is there a way to search