search for: user_input

Displaying 17 results from an estimated 17 matches for "user_input".

2018 May 25
2
readLines function with R >= 3.5.0
...aw you attention to this question on SO: https://stackoverflow.com/questions/50372043/readlines-function-with-new-version-of-r Based on the OP's code I used the script ####################################### create_matrix <- function() { cat("Write the numbers of vertices: ") user_input <- readLines("stdin", n=1) user_input <- as.numeric(user_input) print(user_input) } create_matrix() ####################################### and called it with "R -f ..." from the command line. With 'R version 3.4.4 (2018-03-15) -- "Someone to Lean On"...
2018 May 28
2
readLines function with R >= 3.5.0
....com/questions/50372043/readlines-function-with-new-version-of-r >> Based on the OP's code I used the script >> ####################################### >> create_matrix <- function() { >> cat("Write the numbers of vertices: ") >> user_input <- readLines("stdin", n=1) >> user_input <- as.numeric(user_input) >> print(user_input) >> } >> create_matrix() >> ####################################### >> and called it with "R -f <filename>" from the co...
2018 Jun 12
2
readLines function with R >= 3.5.0
...> >> >> >> Based on the OP's code I used the script >> >> >> ####################################### >> >> create_matrix <- function() { >> >> cat("Write the numbers of vertices: ") >> >> user_input <- readLines("stdin", n=1) >> >> user_input <- as.numeric(user_input) >> >> print(user_input) >> >> } >> >> create_matrix() >> >> ####################################### >> >> >> an...
2018 Jun 13
2
readLines function with R >= 3.5.0
...t; >> Based on the OP's code I used the script >>>> >>>> >> ####################################### >>>> >> create_matrix <- function() { >> cat("Write the >>>> numbers of vertices: ") >> user_input <- >>>> readLines("stdin", n=1) >> user_input <- >>>> as.numeric(user_input) >> print(user_input) >> } >> >>>> create_matrix() >>>> >> ####################################### >>&g...
2018 Jun 19
1
readLines function with R >= 3.5.0
...I used the script > > >>>> > > >>>> >> ####################################### > > >>>> >> create_matrix <- function() { >> cat("Write the > > >>>> numbers of vertices: ") >> user_input <- > > >>>> readLines("stdin", n=1) >> user_input <- > > >>>> as.numeric(user_input) >> print(user_input) >> } >> > > >>>> create_matrix() > > >>>> >> ##############...
2018 May 28
5
readLines function with R >= 3.5.0
...o input anything: $ R -f readLines.R R version 3.5.0 (2018-04-23) -- "Joy in Playing" Copyright (C) 2018 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) [...] > create_matrix <- function() { + cat("Write the numbers of vertices: ") + user_input <- readLines(stdin(), n=1) + user_input <- as.numeric(user_input) + print(user_input) + } > create_matrix() Write the numbers of vertices: numeric(0) > >>>>>>> Martin Maechler >>>>>>> on Mon, 28 May 2018 10:28:01 +0200 writes: >&gt...
2018 May 28
0
readLines function with R >= 3.5.0
...ttps://stackoverflow.com/questions/50372043/readlines-function-with-new-version-of-r > Based on the OP's code I used the script > ####################################### > create_matrix <- function() { > cat("Write the numbers of vertices: ") > user_input <- readLines("stdin", n=1) > user_input <- as.numeric(user_input) > print(user_input) > } > create_matrix() > ####################################### > and called it with "R -f <filename>" from the command line. > Wi...
2018 May 28
0
readLines function with R >= 3.5.0
...ction-with-new-version-of-r > > > >> Based on the OP's code I used the script > > >> ####################################### > >> create_matrix <- function() { > >> cat("Write the numbers of vertices: ") > >> user_input <- readLines("stdin", n=1) > >> user_input <- as.numeric(user_input) > >> print(user_input) > >> } > >> create_matrix() > >> ####################################### > > >> and called it with "R -f...
2018 May 28
0
readLines function with R >= 3.5.0
...0 (2018-04-23) -- "Joy in Playing" > Copyright (C) 2018 The R Foundation for Statistical Computing > Platform: x86_64-pc-linux-gnu (64-bit) > [...] >> create_matrix <- function() { > + cat("Write the numbers of vertices: ") > + user_input <- readLines(stdin(), n=1) > + user_input <- as.numeric(user_input) > + print(user_input) > + } >> create_matrix() > Write the numbers of vertices: numeric(0) >> oh dear... yes, that is true .. >>>>>>>> Mar...
2007 Dec 28
2
Arity?
...method is -1 That seems to be the end of the road for the worker. It just stalls there from what I can tell. What does Arity mean? Any clues? I suspect it''s something small I''m missing. Also, I replaced this on line 210 of server/meta_worker.rb: logger.info "#{user_input[:worker_method]} #{user_input[:data]}" with this: logger.info "#{user_input[:worker_method]} #{user_input[:data].inspect}" for nicer debugging formatting. Seems like it might be a nice improvement. Cheers, Walter McGinnis --- Kete Project Lead Katipo Communications,...
2018 Jun 13
0
readLines function with R >= 3.5.0
...t; >> Based on the OP's code I used the script >>> >>> >> ####################################### >>> >> create_matrix <- function() { >>> >> cat("Write the numbers of vertices: ") >>> >> user_input <- readLines("stdin", n=1) >>> >> user_input <- as.numeric(user_input) >>> >> print(user_input) >>> >> } >>> >> create_matrix() >>> >> ####################################### >>>...
2018 Jun 13
0
readLines function with R >= 3.5.0
...n the OP's code I used the script > >>>> > >>>> >> ####################################### > >>>> >> create_matrix <- function() { >> cat("Write the > >>>> numbers of vertices: ") >> user_input <- > >>>> readLines("stdin", n=1) >> user_input <- > >>>> as.numeric(user_input) >> print(user_input) >> } >> > >>>> create_matrix() > >>>> >> ##################################...
2007 Dec 06
10
Feedback on RC2
I tried to upgrade my existing application to RC2 last night. Like many, I use this mostly for running scheduled tasks. For the moment, I''ve abandoned the effort, but am looking forward to being able to use this. Feedback below: First, the reason I was looking forward to this upgrade was to use the threaded scheduler. I have an application with long-running tasks. I found that
2007 Nov 14
7
BackgrounDRb version 1.0RC1 available now
.... Generated code will look like this: class BarWorker < BackgrounDRb::MetaWorker set_worker_name :bar_worker def create # this method is called, when worker is loaded for the first time puts "starting a bar worker" end def process_request(p_data) user_input = p_data[:data] result = self.send(user_input[:method],user_input[:data]) send_response(p_data,result) end end ''create'' method gets called, when worker is loaded and created. Each worker runs in its own process and you can use ''create'' for...
2010 Jan 22
4
Samba 2.2.7
Hi, When we first installed SAMBA on our IBM AIX 5.3 server, we created 6 shares. For some reason we have discovered that to access a Samba share we always had to assign one share ahead of all others to a user for that user to gain access. ( i.e. If a user requires access to the "extracts" share, we have to assign the "reports" share first in the user login, and then assign
2005 Dec 24
0
acts_as_taggable - adding users and normalizing tags
...just put the normalized tag in the tags table, and have a join table that contains a user id and the denormalized version (i.e. tags -> "swat", tags_to_XXX -> "S.W.A.T"). But, when I get to the coding part it gets a bit ugly. Optimally I''d like to: @thing.tag(user_input, :normalize => true, :user => @user) where this causes the join table (tags_XXXX) to have its user_id fk set, and populate a ''denormalized'' field with "S.W.A.T" so that I can display whatever the user typed on his/her pages. Anybody got some code they want to sha...
2010 May 17
1
how authentication works?
Manao ahoana, Hello, Bonjour, I've read: http://wiki.dovecot.org/Authentication/PasswordSchemes I have a users database with clear plain passwords. Dovecot authenticates users without problems against it. Now, it's time to move to CRYPT scheme. Before that, I would like to know how things happen. He have: - the user, (entering his password in the MUA) - the user's MUA (Thunderbird,