similar to: R system command does not work with objects/variables

Displaying 20 results from an estimated 3000 matches similar to: "R system command does not work with objects/variables"

2000 Oct 16
2
renaming an object
Say I have a file called exp.batch which contains 2 cols The first col contains names of R objects the user would like to use. The second col contains the file names which will be read in using read.table i.e. exp.batch may look like this..... name1 complex/filename/path1.txt name2 complex/filename/path2.txt name3 complex/filename/path3.txt name4 complex/filename/path4.txt I want to have a
2012 Mar 12
1
SEM eigen value error 0 X 0 matrix
Using R-studio, I am trying to run a structural equation model and I am running into problems with testing my primary model. Once I specify everything and try to run it I get this error: Error in eigen(S, symmetric = TRUE, only.values = TRUE) : 0 x 0 matrix And when I look at the object for my primary model in my workspace, which is created after I specify it, it lists all my model components,
2007 Aug 20
1
system() fails with fc.exe (PR#9868)
Full_Name: Jens Oehlschl?gel Version: 2.5.1 OS: Windows Submission from: (NULL) (62.159.183.42) Even when specifying the full path, the output of fc is not sent to R (neither shown nor returned). For example > system('c:\\WINDOWS\\system32\\fc.exe /?',intern=TRUE) character(0) When I do the same from python 2.3, I get >>> import os >>>
2019 Jan 09
2
distributed thinlto usage
Thanks Teresa Yes it is astar, happen to send a tar of the sources but they are just copies from the spec distribution The ld command is: GNU ld (GNU Binutils) 2.29.1 Thanks for the guidance on path names. The prefix-replace just effects the string written to the object files right? So we could post-process that file with other tools as well, correct? Thanks again --david From: Teresa Johnson
2019 Jan 09
2
distributed thinlto usage
Fails with gold too: Library-native.o:Library.cpp:regway: error: undefined reference to 'vtable for regwayobj' /home/dcallahan/fbsource/fbcode/third-party-buck/platform007/tools/binutils/bin/gold/ld: the vtable symbol may be undefined because the class is missing its key function clang-8: error: linker command failed with exit code 1 (use -v to see invocation) From: Teresa Johnson
2006 Jan 09
4
Engine install problems with OS X
I have everything installed via Darwin ports. When I try to do a "script/plugin install engines" in a freshly created rails app I get the following: Macintosh:~/My Web Sites/nckapool bill$ script/plugin install engines svn: PROPFIND request failed on ''/rails/plugins'' svn: PROPFIND of ''/rails/plugins'': 403 Forbidden (http:// svn.protocool.com)
2012 Nov 04
1
structural equations using sem package
Hello I am using sem to look at the direct effect of one variable on another but i am uncertain if i am progressing correctly. An example: covar1<-? matrix(c(0.4,-0.2,3,-0.2 , 0.3,-2 , 3 ,-2 , 60), nrow=3,byrow=T) rownames(covar1)<-colnames(covar1)<-c("endo","exo","med") path1<-matrix(c(? ? "exo -> endo",? "g1", NA,
2023 Mar 04
3
Trying to diagnose incomplete file transfer
At $work I have an odd situation involving incomplete file transfers, but I am unsure where the issue may be occurring. Here is the scenario. Problem: Sometimes the file transfer seems to have completed, but the file size does not match that on the remote system. Details: I transfer a number of large (>1GB) Tar-Gzipped (.tgz) files via SSH tunnels from $customer. Because of some previous
2009 Jan 09
4
Extracting File Basename without Extension
Dear all, The basename() function returns the extension also: > myfile <- "path1/path2/myoutput.txt" > basename(myfile) [1] "myoutput.txt" Is there any other function where it just returns plain base: "myoutput" i.e. without 'txt' - Gundala Viswanath Jakarta - Indonesia
2010 Sep 02
1
Using library and lib.loc
Hi, I didn't find any post on this subject so I ll ask you some advices. Let's say that I have two library trees. Number 1 is the default R library tree on path1 Number 2 is another library tree on a server with all packages on path2. When I set library(aaMI,lib.loc=paths2) it loads the package even if its not on default R library When I set library(fOptions,lib.loc=paths2) it
2016 Apr 30
2
R bindings for Xapian: API modifications
Hi, I'm currently reviewing my originally proposed API design and I added two new fields(idField, stemmer) to the xapian_index() function. As my next task I'm planning to determine the output data structure and format of xapian_search() function. Afterwards I will focus back on xapian_index() function and review the format of valueSlots parameter. An outline of 'simple indexing'
2009 Feb 12
2
[patch] hard link protocol extension for sftp
Here's a patch that adds support for the creation of hard links over SFTP. Hard links are not used very often nowdays, but they do still have their uses and this is currently the most often requested improvement for SSHFS. To detect hard links the st_nlink, st_dev and st_ino attributes are usually used. I'll also post patches adding extensions for these and other attributes. Please
2003 Oct 30
2
sftp client reget reput
we have implemented this function for 3.1p1, and have been using it in production sense may 2002. The patch has been ported to 3.7.1p2, we have been using it in 3.7.1p2 for awhile, if anyone is interested, here it is. This is the same patch David Bradford talked about on 2002-06-05 Regards, Greg Hayes diff -u -r openssh-3.7.1p2/sftp-client.c openssh-3.7.1p2_sftp/sftp-client.c ---
2002 Nov 05
0
[PATCH] Add getlink command to sftp
One of the features missing in sftp is the ability to transfer a symlink. This patch adds a new command to sftp which performs this transfer. Note that it uses messages that already exist in the protocol between client and server. This diff is based on OpenSSH 3.4p1. *** sftp-client.c@@\main\1 Tue Oct 1 17:26:20 2002 --- sftp-client.c Wed Oct 23 15:57:34 2002 *************** *** 666,672 ****
2019 Jan 08
2
distributed thinlto usage
I am trying to work through the usage of thinlto for distributed builds. Here is the simple thinlto usage, just add -flto=thin everywhere, easy: clang++ -flto=thin -O3 -c -o CreateWay_.o -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LITTLE_ENDIAN -Wno-dangling-else CreateWay_.cpp clang++ -flto=thin -O3 -c -o Places_.o -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LITTLE_ENDIAN
2006 Apr 07
2
Dealing with missing values in HeatMap generation
Hi, I want to generate a heatmap for my data (in a matrix). However, the data has some missing values (represented as blank). I get the following errors (with the blanks and with blanks replaced by NA and including the option rm.na = TURE): > filename = "input_heatmap.txt" > g <- as.matrix(filedata) > fg <- rainbow(nrow(g), start=0, end=.3) > gg <-
2002 Oct 18
1
Patch: sftp client support of "ls [flags] [path [localfile]]" feature
Hello, I just downloaded OpenSSH 3.5p1. This version has some great improvement in sftp client. But I still miss the FTP's "ls [flags] remote-path [localpath]" feature to redirect the output of ls/dir to a local file. The following are the diff outputs against 3.5p1 to enable this feature. *** sftp-int.c.orig Wed Sep 11 20:34:15 2002 --- sftp-int.c Fri Oct 18 13:39:46 2002
2007 May 14
0
[PATCH] Adds support for Append command (SSH_FXF_APPEND) to sftp_client
Dear list, Attached is a patch that implements the "append" command in a sftp session, as describe in "draft-ietf-secsh-filexfer-01" and further releases. It is for and had been tested on the current version of OpenSSH (the Portable CVS) and it works, also against non patched versions. The patch is "simple" it it just like the "do_upload" function in
2011 Jun 30
5
How to define a hash table and loop over them in a definition?
This may have been asked before, if so, please excuse me and point me to the right direction. What I want to do is to define a hash table with multiple key->value pairs. I would like to pass this variable to a file template and generate a result file with all the mappings listed. Based on what I read, I need to do it in a definition. But does Puppet supports loop over a hash? Any help would
2012 Aug 07
0
predicting test dataset response from training dataset with randomForest
Hi I am new to R so I apologize if this is trivial. I am trying to predict the resistance or susceptibility of my sequences to a certain drug with a randomForest function from a file with amino acids on each of the positions in the protein. I ran the following: > library(randomForest) > > path <- "C:\\..." > path2 <- "..." > name <-