vmWare Player - virtual machine configured for 2 CPUs but I only have 1 CPU
Solution 1
Yes, you can reconfigure the virtual machine for a single CPU.
The easiest way to do this is to download vmware workstation. It will give you a 30 day trial, which should be more than enough to reconfigure your downloaded VMs.
You did not state which OS was installed inside the VM. If that is windows then it might have problems (e.g. it might want to reactivate).
Solution 2
You can simply edit the VMX file defining the VM settings with a common text editor.
I don't know the exact entry name but search for en entry related to cpu or core you is set to "2". May be it is the entry "sched.cpu.min".
Change the value to "1", save it and try to start the VM. If it works you got it - if not undo the changes and try the next entry.
Vikram Karthic
Updated on September 18, 2022Comments
-
Vikram Karthic almost 2 years
I am building an survey and I am referring this Shiny CRUD app on github, this works fine until I have a question with radio button.
in UI have a new input fields
radioButtons("Question1","Question1", choices = c("Y","N","NA"),inline=T),
I changed the CRUD functions as below, to accommodate the above input field
# Cast from Inputs to a one-row data.frame CastData <- function(data) { datar <- data.frame(name = data["name"], used_shiny = as.logical(data["used_shiny"]), r_num_years = as.integer(data["r_num_years"]), Question1 = data["Question1"], stringsAsFactors = FALSE) rownames(datar) <- data["id"] return (datar) } # Return an empty, new record CreateDefaultRecord <- function() { mydefault <- CastData(list(id = "0", name = "", Question1 = "Y",used_shiny = FALSE, r_num_years = 2)) return (mydefault) } # Fill the input fields with the values of the selected record in the table UpdateInputs <- function(data, session) { updateTextInput(session, "id", value = unname(rownames(data))) updateTextInput(session, "name", value = unname(data["name"])) updateCheckboxInput(session, "used_shiny", value = as.logical(data["used_shiny"])) updateRadioButtons(session, "Question1",value = unname(data["Question1"])) updateSliderInput(session, "r_num_years", value = as.integer(data["r_num_years"])) }
when I run I get error "Warning: Error in updateRadioButtons: unused argument (value = unname(data["Question1"]))" unable to fix this issue
-
Francisco Tapia about 9 yearsThis is right, and @Einsteins Grandson should check and evaluate if is recommended run that Machine/Apliance with only 1 core, considering if you are trying to run that with only 1 core that means mby your host is a bit out to date..